package fp.thetrainline.utils;

public class ElementName {
	public static final String THE_TRAINLINE_PAGE = "http://www.future-processing.com:8780";


	// Home page:
	public static String GET_TRAIN_TIMES = "ui-link-inherit";
	public static String BUY_TICKETS = "Buy tickets";
	
	// Plan Journey:
	public static String FROM_STATION = "from-station";
	public static String TO_STATION = "to-station";
	public static String GET_TRAIN_TIMES_BUTTON = "//*[@id='get-trains-btn']";
	public static String RETURN_BUTTON = "//fieldset[@id='ticket-type-fieldset']/div[3]/label/span/span[2]";
	public static String NOW = "Now...";
	public static String OUTWARD_DATE_DAY = "OUTWARDDATE-select-day";
	public static String OUTWARD_DATE_HOUR = "OUTWARDDATE-select-hour";
	public static String OUTWARD_DATE_MIN = "OUTWARDDATE-select-minute";
	public static String RETURN_DATE_DAY = "RETURNDATE-select-day";
	public static String RETURN_DATE_HOUR = "RETURNDATE-select-hour";
	public static String RETURN_DATE_MIN = "RETURNDATE-select-minute";
	
	// Find Station:
	public static String SEARCH_BY_NAME_TEXT_FIELD = "search";
	public static String SEARCH_BUTTON = "input.ui-btn-hidden";
	
	// Outward Trains:
	public static String OUTWARD_TRAINS_HEADER = "/html/body/div[3]/form/div/h1";
	public static String EARLIER_BUTTON = "earlier-trains";
	public static String DEP_TIME = "/html/body/div[3]/form/div[2]/ul/li[3]/div/div/a/p/span";
	public static String ARR_TIME = "/html/body/div[3]/form/div[2]/ul/li[3]/div/div/a/p[2]/span";
	public static String DEP_STATION = "/html/body/div[3]/form/div[2]/ul/li[3]/div/div/a/p/span[2]";
	public static String ARR_STATION = "/html/body/div[3]/form/div[2]/ul/li[3]/div/div/a/p[2]/span[2]";
	public static String CHECK_FARES_AND_BUY_TICKETS = "//*[@id='get-trains-btn']";
	public static final String RETURN_TRAINS_BUTTON = "/html/body/div[3]/form/div[4]/input";
	
	// Buy Tickets:
	public static String FROM_STATION_EX = "Press to choose station...";
	public static String TO_STATION_EX = "Press to choose station...";
	public static String GET_TRAIN_TIMES_BUTTON_EX = "get-trains-btn";
	
	// Outward Trains with with ticket costs:
	public static String POUND_BUTTON = "//div[@id='results-extended']/div[2]/ul/li[3]/a";
	public static String POUND_BUTTON_LINK = "ticket_options?journeyPart=OUTWARD&ticketType=SINGLE";
	
	// Ticket Options:
	public static String TICKET = "//div[@id='ticket_options_standard_class']/ul/li[2]/div/div/a/p[2]";
	
	// Ticket Information:
	public static String ACCEPT_TERMS_CONDITIONS = "terms-and-conditions-chb";
	public static String PROCEED_TO_PAYMENT = "payment-btn";
	
}
